import request from '@/utils/request'

// 指标删除
export function deleteBizofficeconf(params) {
  return request({
    url: '/office/bizofficeconf/delete',
    method: 'delete',
    params: params
  })
}

// 获取指标列表
export function getBizofficeconfList(data) {
  return request({
    url: '/office/bizofficeconf/list',
    method: 'post',
    data
  })
}

// 新增编辑指标
export function saveBizofficeconfInfo(data) {
  return request({
    url: '/office/bizofficeconf/saveInfo',
    method: 'post',
    data
  })
}

// 指标校验
export function importBizofficeconfData(data) {
  return request({
    url: '/office/bizofficeconf/importData',
    method: 'post',
    data
  })
}

// 指标导入
export function importHyBizofficeconfData(data) {
  return request({
    url: '/office/bizofficeconf/importZBData',
    method: 'post',
    data
  })
}

// 错误指标导入
export function outPutBizofficeconfFail(data) {
  return request({
    url: '/office/bizofficeconf/outPutFailExcel',
    method: 'post',
    data
  })
}
